public class Identity {
    public static void main() {
        System.out.println("********************");
        System.out.println("请选择操作身份:");
        System.out.println("1.辅导员");
        System.out.println("2.学生");
        System.out.println("0.退出");
        System.out.println("********************");
        System.out.print("请输入序号:");
        String i;
        boolean status = true;
        while (status) {
            i = Main.in.nextLine();
            switch (i) {
                case "1":
                    status = false;
                    Counselor.main();
                    break;
                case "2":
                    status = false;
                    Student.main();
                    break;
                case "0":
                    System.exit(0);
                default:
                    System.out.print("输入有误,请重新输入:");
            }
        }

    }
}
